package com.edu.edumanager.service;


import com.edu.edumanager.bean.EduTeacher;
import com.edu.edumanager.vo.EduResult;
import com.edu.edumanager.vo.EduSubjectList;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * @program: springboot1
 * @description:
 * @author: Jaime
 * @create: 2021-08-01 00:02
 **/

public interface TeacherService {

    EduTeacher findTeacher(Integer teacherId);

    EduResult uploadAvatar(MultipartFile file);

    int addTeacher(EduTeacher teacher);

    int deleteTeacher(List<Integer> ids);

    int updateTeacher(EduTeacher eduTeacher);

    EduResult conditionsQuery(Integer currentPage, Integer limit, EduTeacher teacher);

    List<EduSubjectList> findTeacherAll();
}
